projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43ef4d7
)
icontheme: Recolor <polygon> elements in SVGs too
author
Philip Chimento
<philip.chimento@gmail.com>
Sat, 8 Dec 2018 01:40:32 +0000
(
01:40
+0000)
committer
Philip Chimento
<philip.chimento@gmail.com>
Sat, 8 Dec 2018 01:40:32 +0000
(
01:40
+0000)
Otherwise, it's possible to have a symbolic icon where some of the
shapes keep the #bebebe chroma key color.
gtk/gtkicontheme.c
patch
|
blob
|
history
diff --git
a/gtk/gtkicontheme.c
b/gtk/gtkicontheme.c
index 1958b7d133beb0e0e157b53b0c33cdd850e1893e..f1f9c8f074d091be65786671ad6b2262e2159f1b 100644
(file)
--- a/
gtk/gtkicontheme.c
+++ b/
gtk/gtkicontheme.c
@@
-4156,7
+4156,7
@@
gtk_icon_info_load_symbolic_svg (GtkIconInfo *icon_info,
" width=\"", width, "\"\n"
" height=\"", height, "\">\n"
" <style type=\"text/css\">\n"
- " rect,path,ellipse,circle {\n"
+ " rect,path,ellipse,circle
,polygon
{\n"
" fill: ", css_fg," !important;\n"
" }\n"
" .warning {\n"